﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Web;

namespace Alumnos.Models
{
    [Table("alumno")]
    public class Alumno
    {
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public int Legajo { get; set; }

        [Required]
        [Display(Name = "Primer nombre")]
        public string Nombre { get; set; }

        [Required]
        public string Apellido { get; set; }
    }
}